package com.sumer.psychology.comment.domain.model;

import com.sumer.psychology.common.domain.model.Author;

/**
 * User: zhenguang.zhu
 * Date: 2014/9/25
 * Time: 13:31
 */
public class ScoredCommentCreatedEvent extends CommentCreatedEvent {
    private int score;

    public ScoredCommentCreatedEvent(CommentId commentId, CommentHost host, String content,
                                     Author author, CommentType commentType, int score) {
        super(commentId, host, content, author, commentType);
        this.score = score;
    }

    public int score() {
        return score;
    }
}
